package com.kingyea.mobilepolice.organizationcopy.service;

import com.kingyea.mobilepolice.organizationcopy.bean.OrganizationCopy;
import com.kingyea.mobilepolice.organizationcopy.bean.OrganizationCopyCondition;

import java.util.List;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description OrganizationCopy 接口
 * @date Created in 2018-03-30 15:30:32
 */
public interface OrganizationCopyService {

    /**
     * 通过ID查找对象
     *
     * @param orgId
     * @return
     */
    OrganizationCopy getById(Integer orgId) throws Exception;

    /**
     * 列表
     *
     * @param condition
     * @return
     */
    List<OrganizationCopy> search(OrganizationCopyCondition condition) throws Exception;

    /**
     * 删除
     *
     * @param orgId
     * @return
     */
    int deleteById(Integer orgId) throws Exception;

    /**
     * 添加
     *
     * @param organizationCopy
     * @return
     */
    OrganizationCopy save(OrganizationCopy organizationCopy) throws Exception;

    /**
     * 更新
     *
     * @param organizationCopy
     * @return
     */
    OrganizationCopy update(OrganizationCopy organizationCopy) throws Exception;
}
